package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoMapperXml {

    List<UserInfo> selectAll();

    List<UserInfo> selectAll2();


    List<UserInfo> selectById(Integer id);

    Integer insert(UserInfo userInfo);

    Integer deleteById(Integer id);

    Integer updateById(UserInfo userInfo);



}
